package com.baizhi.enumeration;
//这就是个枚举
public enum Season {

    //将所有的变量全部罗列出来，表示春夏秋冬
    //public static final Season SPRINT = new Season();
    SPRINT("春季","暖和"),
    SUMMER("夏季","炎热"),
    AUTUMN("秋季","凉爽"),
    WINTER("冬季","寒冷");


    private String seasonName;
    private String seasonDesc;

    Season(String seasonName,String seasonDesc){ //不能对外调用
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }


    public String getSeasonName() {
        return seasonName;
    }

    public void setSeasonName(String seasonName) {
        this.seasonName = seasonName;
    }

    public String getSeasonDesc() {
        return seasonDesc;
    }

    public void setSeasonDesc(String seasonDesc) {
        this.seasonDesc = seasonDesc;
    }
}
